﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LinkAdd.ascx.cs" Inherits="AdminX_Link_LinkAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>


<div class="tab_content">                                       
    <div class="formEl_b">	           
        <fieldset>
             
            <div class="section ">
                <asp:Label ID="lblClient" runat="server"></asp:Label>
                <asp:TextBox ID="txtClient" runat="server" CssClass="medium" MaxLength="200" ValidationGroup="Input"></asp:TextBox><small class="note">*</small>
            </div>
            <div class="section">
                <asp:Label ID="lblLink" runat="server"></asp:Label>
                <asp:TextBox ID="txtLink" runat="server" CssClass="medium" MaxLength="200" ValidationGroup="Input"></asp:TextBox><small class="note">*</small>
                <small><asp:Label ID="lblExampleLink" runat="server" Text="" CssClass="f_help1"></asp:Label></small>
            </div> 
            <div class="section ">
                <asp:Label ID="lblContent" runat="server"></asp:Label>
            </div> 
            <div >
                <CKEditor:CKEditorControl ID="txtcontent" runat="server"></CKEditor:CKEditorControl>
            </div>

            <div>
                <ul>
                    <li>
                        <input type="checkbox"  id="chkDisplayOrder"  class="ck" runat="server"/>
                        <asp:Label ID="lbldisplayOrder" runat="server" Text="Label" CssClass="text-lbl"></asp:Label>
                    </li>
                    <li>
                        <input type="checkbox"  id="chkActive"  class="ck" runat="server" checked="checked"/>
                        <asp:Label ID="lbleActive" runat="server" Text="Label" CssClass="text-lbl"></asp:Label>
                    </li>
                </ul>
                                     
            </div>
            <div class="clear"></div>
            <br />
            <div class="section">
                <asp:LinkButton ID="btnSave" runat="server"  CssClass="uibutton" OnClick="btnSave_Click1" ValidationGroup="Input"></asp:LinkButton>
                <asp:LinkButton ID="btnCancel" runat="server" CssClass="uibutton special" onclick="btnCancel_Click"></asp:LinkButton> 
            </div>
        </fieldset>
    </div>
</div>


<asp:RequiredFieldValidator ID="rfvTitle" runat="server" SetFocusOnError="true" ControlToValidate="txtClient" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvLink" runat="server" SetFocusOnError="true" ControlToValidate="txtLink" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />
